This page last changed on Dec 01, 2011 by akhil.naini@involver.com.

The Facebook Javascript SDK is already loaded and properly configure with your applications settings. The SDK provides a light weight way to customize social interactions within your application. More information can be found here.


Run on initialize

The Facebook SDK is loaded asynchronously to reduce load times and improve user experience. One drawback of this approach is that the SDK might not be available immediately after loading the page, and therefore any Facebook JS calls would fail.

You can use the following workaround to insure that your calls are done after the SDK is initialized.

$(document).bind('FbReady', function() {

Fb JS Calls...

});
Document generated by Confluence on Feb 12, 2013 09:09